#include "parser.h"

int main(int argc, char **argv)
{
    if (argc >= 2)
    {
        if (*argv[1] == '1')
        {
            for (int i = 2; i < argc; ++i)
                SolveBVP1d(argv[i]);
        }
        else if (*argv[1] == '2')
        {
            for (int i = 2; i < argc; ++i)
                SolveBVP2d(argv[i]);
        }
        else if (*argv[1] == 'e')
        {
            epsil_test();
        }
        else
        {
            std::cout << "Please input the corret dimension of your problem !" << std::endl;
        }
    }
    // SolveBVP2d("FLM.json");
    return 0;
}
